package edu.spec.wfl.week02.class2;

public class Juzhen{
    public static void main(String[] args){
        int a[][]={{0,1,2,3,4},{5,6,7,8,9},{10,11,12,13,14}};
        int b[][]={{15,16,17,18,19},{20,21,22,23,24},{25,26,27,28,29}};
        int i,j,k;
        int c[][]=new int[3][5];
        int d[][]=new int[3][5];
        for(i=0;i<3;i++){
            for(j=0;j<5;j++){
                c[i][j]=a[i][j]+b[i][j];
                System.out.print(c[i][j]+"  ");
            }
            System.out.println();
        }
        for(i=0;i<3;i++){
            for(j=0;j<5;j++){
                d[i][j]=a[i][j]*b[i][j];
                System.out.print(d[i][j]+"  ");
            }
            System.out.println();
        }
    }
}
